.class final LwFZra/BzebW;
.super Ljava/lang/Object;

# interfaces
.implements LwFZra/OeMtE;


# instance fields
.field JxGxZ:Z

.field public final iWfJG:LwFZra/vpTWk;

.field public final ihXte:LwFZra/UulfZ;


# direct methods
.method constructor <init>(LwFZra/vpTWk;)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, LwFZra/UulfZ;

    invoke-direct {v0}, LwFZra/UulfZ;-><init>()V

    iput-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    if-nez p1, :cond_0

    new-instance v0, Ljava/lang/NullPointerException;

    const-string v1, "source == null"

    invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iput-object p1, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    return-void
.end method


# virtual methods
.method public AEaMF()S
    .locals 2

    const-wide/16 v0, 0x2

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->AEaMF()S

    move-result v0

    return v0
.end method

.method public AzuNe(LwFZra/tbdHE;)J
    .locals 2

    const-wide/16 v0, 0x0

    invoke-virtual {p0, p1, v0, v1}, LwFZra/BzebW;->wcAKs(LwFZra/tbdHE;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public BiSbJ()Ljava/lang/String;
    .locals 4

    const/16 v0, 0xa

    invoke-virtual {p0, v0}, LwFZra/BzebW;->DeLaV(B)J

    move-result-wide v0

    const-wide/16 v2, -0x1

    cmp-long v2, v0, v2

    if-nez v2, :cond_1

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-eqz v0, :cond_0

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->XHaRv(J)Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0

    :cond_1
    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v2, v0, v1}, LwFZra/UulfZ;->KpUMz(J)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public ByJPI(JLwFZra/tbdHE;)Z
    .locals 7

    const/4 v5, 0x0

    invoke-virtual {p3}, LwFZra/tbdHE;->ikzLn()I

    move-result v6

    move-object v1, p0

    move-wide v2, p1

    move-object v4, p3

    invoke-virtual/range {v1 .. v6}, LwFZra/BzebW;->Hopyg(JLwFZra/tbdHE;II)Z

    move-result v0

    return v0
.end method

.method public CguGx(J)[B
    .locals 1

    invoke-virtual {p0, p1, p2}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1, p2}, LwFZra/UulfZ;->CguGx(J)[B

    move-result-object v0

    return-object v0
.end method

.method public DQDvM()J
    .locals 2

    const-wide/16 v0, 0x8

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->DQDvM()J

    move-result-wide v0

    return-wide v0
.end method

.method public DVmcU(J)V
    .locals 1

    invoke-virtual {p0, p1, p2}, LwFZra/BzebW;->IOoVS(J)Z

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Ljava/io/EOFException;

    invoke-direct {v0}, Ljava/io/EOFException;-><init>()V

    throw v0

    :cond_0
    return-void
.end method

.method public DeLaV(B)J
    .locals 2

    const-wide/16 v0, 0x0

    invoke-virtual {p0, p1, v0, v1}, LwFZra/BzebW;->RXauL(BJ)J

    move-result-wide v0

    return-wide v0
.end method

.method public ETwiY(J)V
    .locals 7

    const-wide/16 v4, 0x0

    iget-boolean v0, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->andiF()J

    move-result-wide v0

    invoke-static {p1, p2, v0, v1}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v0

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v2, v0, v1}, LwFZra/UulfZ;->ETwiY(J)V

    sub-long/2addr p1, v0

    :cond_1
    cmp-long v0, p1, v4

    if-lez v0, :cond_2

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    cmp-long v0, v0, v4

    if-nez v0, :cond_0

    iget-object v0, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v1, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v2, 0x2000

    invoke-interface {v0, v1, v2, v3}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v0

    const-wide/16 v2, -0x1

    cmp-long v0, v0, v2

    if-nez v0, :cond_0

    new-instance v0, Ljava/io/EOFException;

    invoke-direct {v0}, Ljava/io/EOFException;-><init>()V

    throw v0

    :cond_2
    return-void
.end method

.method public FlmFM([BII)I
    .locals 6

    array-length v0, p1

    int-to-long v0, v0

    int-to-long v2, p2

    int-to-long v4, p3

    invoke-static/range {v0 .. v5}, LwFZra/ADnqL;->sttHP(JJJ)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-nez v0, :cond_0

    iget-object v0, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v1, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v2, 0x2000

    invoke-interface {v0, v1, v2, v3}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v0

    const-wide/16 v2, -0x1

    cmp-long v0, v0, v2

    if-nez v0, :cond_0

    const/4 v0, -0x1

    :goto_0
    return v0

    :cond_0
    int-to-long v0, p3

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v2, v2, LwFZra/UulfZ;->xKhHr:J

    invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v0

    long-to-int v0, v0

    iget-object v1, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v1, p1, p2, v0}, LwFZra/UulfZ;->FlmFM([BII)I

    move-result v0

    goto :goto_0
.end method

.method public FwyHX(LwFZra/taFyP;)I
    .locals 8

    const/4 v0, -0x1

    iget-boolean v1, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v1, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-object v1, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v1, p1}, LwFZra/UulfZ;->uCTJB(LwFZra/taFyP;)I

    move-result v1

    if-ne v1, v0, :cond_1

    :goto_0
    return v0

    :cond_1
    iget-object v2, p1, LwFZra/taFyP;->TmBoF:[LwFZra/tbdHE;

    aget-object v2, v2, v1

    invoke-virtual {v2}, LwFZra/tbdHE;->ikzLn()I

    move-result v2

    int-to-long v4, v2

    iget-object v3, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v6, v3, LwFZra/UulfZ;->xKhHr:J

    cmp-long v3, v4, v6

    if-gtz v3, :cond_2

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    int-to-long v2, v2

    invoke-virtual {v0, v2, v3}, LwFZra/UulfZ;->ETwiY(J)V

    move v0, v1

    goto :goto_0

    :cond_2
    iget-object v1, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v4, 0x2000

    invoke-interface {v1, v2, v4, v5}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v2

    const-wide/16 v4, -0x1

    cmp-long v1, v2, v4

    if-nez v1, :cond_0

    goto :goto_0
.end method

.method public GLfDF()Ljava/lang/String;
    .locals 8

    const/16 v0, 0xa

    invoke-virtual {p0, v0}, LwFZra/BzebW;->DeLaV(B)J

    move-result-wide v0

    const-wide/16 v2, -0x1

    cmp-long v2, v0, v2

    if-nez v2, :cond_0

    new-instance v1, LwFZra/UulfZ;

    invoke-direct {v1}, LwFZra/UulfZ;-><init>()V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v2, 0x0

    const-wide/16 v4, 0x20

    iget-object v6, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v6}, LwFZra/UulfZ;->andiF()J

    move-result-wide v6

    invoke-static {v4, v5, v6, v7}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v4

    invoke-virtual/range {v0 .. v5}, LwFZra/UulfZ;->JPggB(LwFZra/UulfZ;JJ)LwFZra/UulfZ;

    new-instance v0, Ljava/io/EOFException;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "\\n not found: size="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v3}, LwFZra/UulfZ;->andiF()J

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " content="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v1}, LwFZra/UulfZ;->wNiSQ()LwFZra/tbdHE;

    move-result-object v1

    invoke-virtual {v1}, LwFZra/tbdHE;->WbFEf()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\u2026"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/EOFException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v2, v0, v1}, LwFZra/UulfZ;->KpUMz(J)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public GRnVF()I
    .locals 2

    const-wide/16 v0, 0x4

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->GRnVF()I

    move-result v0

    return v0
.end method

.method public Hopyg(JLwFZra/tbdHE;II)Z
    .locals 7

    const/4 v0, 0x0

    iget-boolean v1, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v1, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    const-wide/16 v2, 0x0

    cmp-long v1, p1, v2

    if-ltz v1, :cond_1

    if-ltz p4, :cond_1

    if-ltz p5, :cond_1

    invoke-virtual {p3}, LwFZra/tbdHE;->ikzLn()I

    move-result v1

    sub-int/2addr v1, p4

    if-ge v1, p5, :cond_2

    :cond_1
    :goto_0
    return v0

    :cond_2
    move v1, v0

    :goto_1
    if-ge v1, p5, :cond_3

    int-to-long v2, v1

    add-long/2addr v2, p1

    const-wide/16 v4, 0x1

    add-long/2addr v4, v2

    invoke-virtual {p0, v4, v5}, LwFZra/BzebW;->IOoVS(J)Z

    move-result v4

    if-eqz v4, :cond_1

    iget-object v4, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v4, v2, v3}, LwFZra/UulfZ;->dZZGj(J)B

    move-result v2

    add-int v3, p4, v1

    invoke-virtual {p3, v3}, LwFZra/tbdHE;->CxTmn(I)B

    move-result v3

    if-ne v2, v3, :cond_1

    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_3
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public IOoVS(J)Z
    .locals 5

    const-wide/16 v0, 0x0

    cmp-long v0, p1, v0

    if-gez v0, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "byteCount < 0: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-boolean v0, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    cmp-long v0, v0, p1

    if-gez v0, :cond_2

    iget-object v0, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v1, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v2, 0x2000

    invoke-interface {v0, v1, v2, v3}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v0

    const-wide/16 v2, -0x1

    cmp-long v0, v0, v2

    if-nez v0, :cond_1

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_2
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public JZTKD()S
    .locals 2

    const-wide/16 v0, 0x2

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->JZTKD()S

    move-result v0

    return v0
.end method

.method public KMnQV(LwFZra/tbdHE;)J
    .locals 2

    const-wide/16 v0, 0x0

    invoke-virtual {p0, p1, v0, v1}, LwFZra/BzebW;->OojKj(LwFZra/tbdHE;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public LVCmg(J)LwFZra/tbdHE;
    .locals 1

    invoke-virtual {p0, p1, p2}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1, p2}, LwFZra/UulfZ;->LVCmg(J)LwFZra/tbdHE;

    move-result-object v0

    return-object v0
.end method

.method public OojKj(LwFZra/tbdHE;J)J
    .locals 8

    const-wide/16 v2, -0x1

    iget-boolean v0, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    invoke-static {p2, p3, v0, v1}, Ljava/lang/Math;->max(JJ)J

    move-result-wide p2

    :cond_1
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1, p2, p3}, LwFZra/UulfZ;->OojKj(LwFZra/tbdHE;J)J

    move-result-wide v0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_2

    :goto_0
    return-wide v0

    :cond_2
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    iget-object v4, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v5, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v6, 0x2000

    invoke-interface {v4, v5, v6, v7}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v4

    cmp-long v4, v4, v2

    if-nez v4, :cond_0

    move-wide v0, v2

    goto :goto_0
.end method

.method public RXauL(BJ)J
    .locals 8

    const-wide/16 v2, -0x1

    iget-boolean v0, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    invoke-static {p2, p3, v0, v1}, Ljava/lang/Math;->max(JJ)J

    move-result-wide p2

    :cond_1
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1, p2, p3}, LwFZra/UulfZ;->RXauL(BJ)J

    move-result-wide v0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_2

    :goto_0
    return-wide v0

    :cond_2
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    iget-object v4, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v5, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v6, 0x2000

    invoke-interface {v4, v5, v6, v7}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v4

    cmp-long v4, v4, v2

    if-nez v4, :cond_0

    move-wide v0, v2

    goto :goto_0
.end method

.method public SxPEt(LwFZra/UulfZ;J)J
    .locals 6

    const-wide/16 v4, 0x0

    const-wide/16 v0, -0x1

    if-nez p1, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "sink == null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    cmp-long v2, p2, v4

    if-gez v2, :cond_1

    new-instance v0, Ljava/lang/IllegalArgumentException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "byteCount < 0: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2, p3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    iget-boolean v2, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v2, :cond_2

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_2
    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v2, v2, LwFZra/UulfZ;->xKhHr:J

    cmp-long v2, v2, v4

    if-nez v2, :cond_3

    iget-object v2, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v3, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v4, 0x2000

    invoke-interface {v2, v3, v4, v5}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v2

    cmp-long v2, v2, v0

    if-nez v2, :cond_3

    :goto_0
    return-wide v0

    :cond_3
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    invoke-static {p2, p3, v0, v1}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v0

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v2, p1, v0, v1}, LwFZra/UulfZ;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v0

    goto :goto_0
.end method

.method public VNnzR(LwFZra/NYfbw;)J
    .locals 8

    const-wide/16 v2, 0x0

    if-nez p1, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "sink == null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    move-wide v0, v2

    :cond_1
    :goto_0
    iget-object v4, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v5, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v6, 0x2000

    invoke-interface {v4, v5, v6, v7}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v4

    const-wide/16 v6, -0x1

    cmp-long v4, v4, v6

    if-eqz v4, :cond_2

    iget-object v4, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v4}, LwFZra/UulfZ;->YSuyc()J

    move-result-wide v4

    cmp-long v6, v4, v2

    if-lez v6, :cond_1

    add-long/2addr v0, v4

    iget-object v6, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-interface {p1, v6, v4, v5}, LwFZra/NYfbw;->lxZZo(LwFZra/UulfZ;J)V

    goto :goto_0

    :cond_2
    iget-object v4, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v4}, LwFZra/UulfZ;->andiF()J

    move-result-wide v4

    cmp-long v2, v4, v2

    if-lez v2, :cond_3

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v2}, LwFZra/UulfZ;->andiF()J

    move-result-wide v2

    add-long/2addr v0, v2

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-object v3, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v3}, LwFZra/UulfZ;->andiF()J

    move-result-wide v4

    invoke-interface {p1, v2, v4, v5}, LwFZra/NYfbw;->lxZZo(LwFZra/UulfZ;J)V

    :cond_3
    return-wide v0
.end method

.method public VuWJa([B)I
    .locals 2

    const/4 v0, 0x0

    array-length v1, p1

    invoke-virtual {p0, p1, v0, v1}, LwFZra/BzebW;->FlmFM([BII)I

    move-result v0

    return v0
.end method

.method public WDhBi()J
    .locals 6

    const/4 v1, 0x0

    const-wide/16 v2, 0x1

    invoke-virtual {p0, v2, v3}, LwFZra/BzebW;->DVmcU(J)V

    move v0, v1

    :goto_0
    add-int/lit8 v2, v0, 0x1

    int-to-long v2, v2

    invoke-virtual {p0, v2, v3}, LwFZra/BzebW;->IOoVS(J)Z

    move-result v2

    if-eqz v2, :cond_4

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    int-to-long v4, v0

    invoke-virtual {v2, v4, v5}, LwFZra/UulfZ;->dZZGj(J)B

    move-result v2

    const/16 v3, 0x30

    if-lt v2, v3, :cond_0

    const/16 v3, 0x39

    if-le v2, v3, :cond_3

    :cond_0
    const/16 v3, 0x61

    if-lt v2, v3, :cond_1

    const/16 v3, 0x66

    if-le v2, v3, :cond_3

    :cond_1
    const/16 v3, 0x41

    if-lt v2, v3, :cond_2

    const/16 v3, 0x46

    if-le v2, v3, :cond_3

    :cond_2
    if-nez v0, :cond_4

    new-instance v0, Ljava/lang/NumberFormatException;

    const-string v3, "Expected leading [0-9a-fA-F] character but was %#x"

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    invoke-static {v2}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object v2

    aput-object v2, v4, v1

    invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/NumberFormatException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_3
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_4
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->WDhBi()J

    move-result-wide v0

    return-wide v0
.end method

.method public XHaRv(J)Ljava/lang/String;
    .locals 1

    invoke-virtual {p0, p1, p2}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1, p2}, LwFZra/UulfZ;->XHaRv(J)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public ZwHMa()[B
    .locals 2

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-object v1, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    invoke-virtual {v0, v1}, LwFZra/UulfZ;->tXnbb(LwFZra/vpTWk;)J

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->ZwHMa()[B

    move-result-object v0

    return-object v0
.end method

.method public close()V
    .locals 1

    iget-boolean v0, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x1

    iput-boolean v0, p0, LwFZra/BzebW;->JxGxZ:Z

    iget-object v0, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    invoke-interface {v0}, LwFZra/vpTWk;->close()V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->eNFAy()V

    goto :goto_0
.end method

.method public dRVbD(LwFZra/UulfZ;J)V
    .locals 2

    :try_start_0
    invoke-virtual {p0, p2, p3}, LwFZra/BzebW;->DVmcU(J)V
    :try_end_0
    .catch Ljava/io/EOFException; {:try_start_0 .. :try_end_0} :catch_0

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1, p2, p3}, LwFZra/UulfZ;->dRVbD(LwFZra/UulfZ;J)V

    return-void

    :catch_0
    move-exception v0

    iget-object v1, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {p1, v1}, LwFZra/UulfZ;->tXnbb(LwFZra/vpTWk;)J

    throw v0
.end method

.method public ecoRZ()LwFZra/kEGWw;
    .locals 1

    iget-object v0, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    invoke-interface {v0}, LwFZra/vpTWk;->ecoRZ()LwFZra/kEGWw;

    move-result-object v0

    return-object v0
.end method

.method public hDEgq()J
    .locals 2

    const-wide/16 v0, 0x8

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->hDEgq()J

    move-result-wide v0

    return-wide v0
.end method

.method public iXQkm()I
    .locals 4

    const-wide/16 v0, 0x1

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v2, 0x0

    invoke-virtual {v0, v2, v3}, LwFZra/UulfZ;->dZZGj(J)B

    move-result v0

    and-int/lit16 v1, v0, 0xe0

    const/16 v2, 0xc0

    if-ne v1, v2, :cond_1

    const-wide/16 v0, 0x2

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    :cond_0
    :goto_0
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->iXQkm()I

    move-result v0

    return v0

    :cond_1
    and-int/lit16 v1, v0, 0xf0

    const/16 v2, 0xe0

    if-ne v1, v2, :cond_2

    const-wide/16 v0, 0x3

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    goto :goto_0

    :cond_2
    and-int/lit16 v0, v0, 0xf8

    const/16 v1, 0xf0

    if-ne v0, v1, :cond_0

    const-wide/16 v0, 0x4

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    goto :goto_0
.end method

.method public lSdme()LwFZra/UulfZ;
    .locals 1

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    return-object v0
.end method

.method public lvIcv()Ljava/lang/String;
    .locals 2

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-object v1, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    invoke-virtual {v0, v1}, LwFZra/UulfZ;->tXnbb(LwFZra/vpTWk;)J

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->lvIcv()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public lyKta(Ljava/nio/charset/Charset;)Ljava/lang/String;
    .locals 2

    if-nez p1, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "charset == null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-object v1, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    invoke-virtual {v0, v1}, LwFZra/UulfZ;->tXnbb(LwFZra/vpTWk;)J

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1}, LwFZra/UulfZ;->lyKta(Ljava/nio/charset/Charset;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public opMCC()Z
    .locals 4

    iget-boolean v0, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->opMCC()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v1, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v2, 0x2000

    invoke-interface {v0, v1, v2, v3}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v0

    const-wide/16 v2, -0x1

    cmp-long v0, v0, v2

    if-nez v0, :cond_1

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public pSefa()B
    .locals 2

    const-wide/16 v0, 0x1

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->pSefa()B

    move-result v0

    return v0
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "buffer("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ")"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public uSroJ()I
    .locals 2

    const-wide/16 v0, 0x4

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->uSroJ()I

    move-result v0

    return v0
.end method

.method public wNiSQ()LwFZra/tbdHE;
    .locals 2

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-object v1, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    invoke-virtual {v0, v1}, LwFZra/UulfZ;->tXnbb(LwFZra/vpTWk;)J

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->wNiSQ()LwFZra/tbdHE;

    move-result-object v0

    return-object v0
.end method

.method public wZKdi(JLjava/nio/charset/Charset;)Ljava/lang/String;
    .locals 3

    invoke-virtual {p0, p1, p2}, LwFZra/BzebW;->DVmcU(J)V

    if-nez p3, :cond_0

    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "charset == null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1, p2, p3}, LwFZra/UulfZ;->wZKdi(JLjava/nio/charset/Charset;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public wcAKs(LwFZra/tbdHE;J)J
    .locals 8

    const-wide/16 v2, -0x1

    iget-boolean v0, p0, LwFZra/BzebW;->JxGxZ:Z

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    invoke-virtual {p1}, LwFZra/tbdHE;->ikzLn()I

    move-result v4

    int-to-long v4, v4

    sub-long/2addr v0, v4

    const-wide/16 v4, 0x1

    add-long/2addr v0, v4

    invoke-static {p2, p3, v0, v1}, Ljava/lang/Math;->max(JJ)J

    move-result-wide p2

    :cond_1
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1, p2, p3}, LwFZra/UulfZ;->wcAKs(LwFZra/tbdHE;J)J

    move-result-wide v0

    cmp-long v4, v0, v2

    if-eqz v4, :cond_2

    :goto_0
    return-wide v0

    :cond_2
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v0, v0, LwFZra/UulfZ;->xKhHr:J

    iget-object v4, p0, LwFZra/BzebW;->iWfJG:LwFZra/vpTWk;

    iget-object v5, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    const-wide/16 v6, 0x2000

    invoke-interface {v4, v5, v6, v7}, LwFZra/vpTWk;->SxPEt(LwFZra/UulfZ;J)J

    move-result-wide v4

    cmp-long v4, v4, v2

    if-nez v4, :cond_0

    move-wide v0, v2

    goto :goto_0
.end method

.method public wkTcE([B)V
    .locals 6

    :try_start_0
    array-length v0, p1

    int-to-long v0, v0

    invoke-virtual {p0, v0, v1}, LwFZra/BzebW;->DVmcU(J)V
    :try_end_0
    .catch Ljava/io/EOFException; {:try_start_0 .. :try_end_0} :catch_0

    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0, p1}, LwFZra/UulfZ;->wkTcE([B)V

    return-void

    :catch_0
    move-exception v0

    move-object v1, v0

    const/4 v0, 0x0

    :goto_0
    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v2, v2, LwFZra/UulfZ;->xKhHr:J

    const-wide/16 v4, 0x0

    cmp-long v2, v2, v4

    if-lez v2, :cond_1

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-object v3, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    iget-wide v4, v3, LwFZra/UulfZ;->xKhHr:J

    long-to-int v3, v4

    invoke-virtual {v2, p1, v0, v3}, LwFZra/UulfZ;->FlmFM([BII)I

    move-result v2

    const/4 v3, -0x1

    if-ne v2, v3, :cond_0

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    :cond_0
    add-int/2addr v0, v2

    goto :goto_0

    :cond_1
    throw v1
.end method

.method public xvfpj()J
    .locals 6

    const/4 v1, 0x0

    const-wide/16 v2, 0x1

    invoke-virtual {p0, v2, v3}, LwFZra/BzebW;->DVmcU(J)V

    move v0, v1

    :goto_0
    add-int/lit8 v2, v0, 0x1

    int-to-long v2, v2

    invoke-virtual {p0, v2, v3}, LwFZra/BzebW;->IOoVS(J)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-object v2, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    int-to-long v4, v0

    invoke-virtual {v2, v4, v5}, LwFZra/UulfZ;->dZZGj(J)B

    move-result v2

    const/16 v3, 0x30

    if-lt v2, v3, :cond_0

    const/16 v3, 0x39

    if-le v2, v3, :cond_2

    :cond_0
    if-nez v0, :cond_1

    const/16 v3, 0x2d

    if-eq v2, v3, :cond_2

    :cond_1
    if-nez v0, :cond_3

    new-instance v0, Ljava/lang/NumberFormatException;

    const-string v3, "Expected leading [0-9] or \'-\' character but was %#x"

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    invoke-static {v2}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;

    move-result-object v2

    aput-object v2, v4, v1

    invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/NumberFormatException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_3
    iget-object v0, p0, LwFZra/BzebW;->ihXte:LwFZra/UulfZ;

    invoke-virtual {v0}, LwFZra/UulfZ;->xvfpj()J

    move-result-wide v0

    return-wide v0
.end method

.method public yDGma()Ljava/io/InputStream;
    .locals 1

    new-instance v0, LwFZra/YPjxL;

    invoke-direct {v0, p0}, LwFZra/YPjxL;-><init>(LwFZra/BzebW;)V

    return-object v0
.end method
